package cn.z2huo.knowledge.basic.exception.throwskeyword;

import java.io.IOException;

/**
 * <p>
 *
 * @author z2huo
 */
class CheckedExceptionThrowsTest {

    public void test() throws IOException {
        throw new IOException();
    }

    public static void main(String[] args) {
        try {
            new CheckedExceptionThrowsTest().test();
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }

}
